<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>包含演示</title>
</head>
<body>
    <a href='include.php?page=home.php'>首页</a>
    <a href='include.php?page=about.php'>关于</a>
    <br>

<?php
    error_reporting(E_ERROR);
    $a = $_GET['page'];
    if(!$a) $a ="home.php";

    include $a;
?>
</body>
</html>
